package com.carleasoft.mps.qa.business.anwser.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carleasoft.mps.qa.business.anwser.bean.entity.NaireEntity;
import com.carleasoft.mps.qa.business.anwser.bean.po.NairePagePo;
import com.carleasoft.mps.qa.business.anwser.bean.po.PageAnswerPo;
import com.carleasoft.mps.qa.business.anwser.bean.vo.AnswerPageQueryVo;
import com.carleasoft.mps.qa.business.anwser.bean.vo.PageAnswerVo;
import com.carleasoft.mps.qa.business.anwser.bean.vo.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @author: yangHao
 * @createDate:2023/5/24
 * @description:
 */
@Mapper
public interface NaireMapper extends BaseMapper<NaireEntity> {


    Page<AnswerPageQueryVo> answerPageQuery(@Param("page") Page page, @Param("po") NairePagePo nairePagePo);

    Page<PageAnswerVo> pageAnswer(@Param("page") Page page, @Param("po") PageAnswerPo pageAnswerPo);

    List<UserInfoVo> userCodeInfo(@Param("userCodes") Set<String> userCodes);
}
